package com.zhy.generator.commons.base;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @title
 * @description
 * @author 源
 *@createDate 2019/9/29
 */
@Data
public class BaseVO implements Serializable {
    private static final long serialVersionUID = -3825041596791832434L;

    //创建人
    @ApiModelProperty(value = "创建人")
    private String created;

    //创建时间
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createTime;

    //更新人
    @ApiModelProperty(value = "更新人")
    private String updated;

    //更新时间
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date updateTime;
}
